package com.ktjiaoyu.crm.service;


import com.ktjiaoyu.crm.pojo.Right;

import java.util.List;
import java.util.Set;

public interface RightService {

    /**
     * 根据角色ID查询角色所拥有权限
     * @param roleId
     * @return
     */
    Set<String> findRightsByRoleId(Long roleId);


    List<Right> findAllRights();


    List<Right> getRightsByRoleId(Long roleId);



}
